package com.damie.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alon
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_waste_rating")
public class WasteRating implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评价id
     */
    @TableId(value = "rating_id",type = IdType.ASSIGN_ID)
    private String ratingId;

    /**
     * 评价
     */
    private String ratingComment;

    /**
     * 照片
     */
    private String ratingPicture;

    /**
     * 评分
     */
    private Integer ratingScore;

    /**
     * 站点评分
     */
    private Integer ratingSiteScore;

    /**
     * 站点评价
     */
    private String ratingSiteComment;

    /**
     * 关联订单id
     */
    private String ratingOrderId;

    /**
     * 用户创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date ratingCreateTime;

    private Integer ratingStatus;

    /**
     * 关联用户id
     */
    private String ratingUserId;
    /**
     * 逻辑删除
     */
    @TableLogic(value = "1",delval = "2")
    private Integer deleted;

    /**
     * 追加评论
     */
    private String ratingOpened;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date ratingUpdateTime;
    /**
     * 站点回复用户评价
     */
    private String resultComment;
}
